package com.softer.wxzj.mapper;

import com.softer.wxzj.entity.DicType;
import com.softer.wxzj.entity.SysCoreParam;
import com.softer.wxzj.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * SysCoreParamMapper class
 *
 * @author wxr
 * @date 2019/1/16
 */
@Repository
public interface SysCoreParamMapper extends BaseMapper<SysCoreParam> {
    /**
     * 模糊查询
     */
    List<SysCoreParam> fuzzySearch(@Param("fuzzy") String fuzzy, @Param("paramType") String paramType);
    String selectOne(String paranName);

    /**
     * 根据查询系统参数
     *
     * @param paramCode
     * @return
     */
    String getParamValueByCode(String paramCode);
}
